package com.bao.shop.service;

import com.bao.shop.entity.User;

import java.util.ArrayList;
import java.util.Scanner;

public interface UserService {
    ArrayList<User> USER_LIST =new ArrayList<>();
    Scanner INPUT=new Scanner(System.in);

    void register(User user);

    User registerManagement();

    boolean findUser(String userName);

    User findUser(User user);

    boolean checkMessage(Integer age);

    boolean checkMessage(String password);

    User login();

    boolean loginOut();

    void printUser(User user);
}
